#define _CRT_SECURE_NO_WARNINGS
#include<string.h>
#include<stdio.h>
int my_strlen(char* str)
{
	if (*str != '\0')
		return 1 + my_strlen(str + 1);
	else
		return 0;
}
int main()
{
	char arr[] = "abc";
	printf("len=%d\n", my_strlen(arr));
	return 0;
}